package com.fcl.oschina.entity;

/**
 * Created by Administrator on 2017/3/23.
 */

public class UserEntity {

    /**
     * desc : 开源中国编辑部
     * gender : 2
     * id : 2918182
     * more : {"city":"深圳","company":"开源中国","expertise":"<无>","joinDate":"2016-09-18 17:46:45","platform":"<无>"}
     * name : 编辑部的故事
     * portrait : https://static.oschina.net/uploads/user/1459/2918182_50.jpeg?t=1484105851000
     * relation : 4
     * statistics : {"answer":0,"blog":59,"collect":0,"discuss":747,"fans":220,"follow":0,"score":287,"tweet":0}
     */

    private String desc;
    private int gender;
    private int id;
    private MoreBean more;
    private String name;
    private String portrait;
    private int relation;
    private StatisticsBean statistics;

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public MoreBean getMore() {
        return more;
    }

    public void setMore(MoreBean more) {
        this.more = more;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public int getRelation() {
        return relation;
    }

    public void setRelation(int relation) {
        this.relation = relation;
    }

    public StatisticsBean getStatistics() {
        return statistics;
    }

    public void setStatistics(StatisticsBean statistics) {
        this.statistics = statistics;
    }

    public static class MoreBean {
        /**
         * city : 深圳
         * company : 开源中国
         * expertise : <无>
         * joinDate : 2016-09-18 17:46:45
         * platform : <无>
         */

        private String city;
        private String company;
        private String expertise;
        private String joinDate;
        private String platform;

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getExpertise() {
            return expertise;
        }

        public void setExpertise(String expertise) {
            this.expertise = expertise;
        }

        public String getJoinDate() {
            return joinDate;
        }

        public void setJoinDate(String joinDate) {
            this.joinDate = joinDate;
        }

        public String getPlatform() {
            return platform;
        }

        public void setPlatform(String platform) {
            this.platform = platform;
        }
    }

    public static class StatisticsBean {
        /**
         * answer : 0
         * blog : 59
         * collect : 0
         * discuss : 747
         * fans : 220
         * follow : 0
         * score : 287
         * tweet : 0
         */

        private int answer;
        private int blog;
        private int collect;
        private int discuss;
        private int fans;
        private int follow;
        private int score;
        private int tweet;

        public int getAnswer() {
            return answer;
        }

        public void setAnswer(int answer) {
            this.answer = answer;
        }

        public int getBlog() {
            return blog;
        }

        public void setBlog(int blog) {
            this.blog = blog;
        }

        public int getCollect() {
            return collect;
        }

        public void setCollect(int collect) {
            this.collect = collect;
        }

        public int getDiscuss() {
            return discuss;
        }

        public void setDiscuss(int discuss) {
            this.discuss = discuss;
        }

        public int getFans() {
            return fans;
        }

        public void setFans(int fans) {
            this.fans = fans;
        }

        public int getFollow() {
            return follow;
        }

        public void setFollow(int follow) {
            this.follow = follow;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public int getTweet() {
            return tweet;
        }

        public void setTweet(int tweet) {
            this.tweet = tweet;
        }
    }
}
